package com.ruoyi.common.core.domain.business.waterDistribution;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 设定渠道数据对象 channel_set_data
 *
 * @author hwd
 * @date 2023-07-13
 */
@Data
@TableName("channel_set_data")
public class ChannelSetData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 总灌溉面积 */
    @Excel(name = "总灌溉面积")
    private BigDecimal totalIrrigationArea;

    /** 渠道总长度 */
    @Excel(name = "渠道总长度")
    private BigDecimal totalLengthChannel
;

    /** 闸口建设 */
    @Excel(name = "闸口建设")
    private BigDecimal gateConstruction;

    /** 水价改革设计面 */
    @Excel(name = "水价改革设计面")
    private BigDecimal designWaterPriceReform;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setTotalIrrigationArea(BigDecimal totalIrrigationArea)
    {
        this.totalIrrigationArea = totalIrrigationArea;
    }

    public BigDecimal getTotalIrrigationArea()
    {
        return totalIrrigationArea;
    }
    public void setTotalLengthChannel(BigDecimal totalLengthChannel)
    {
       this.totalLengthChannel = totalLengthChannel;
    }

    public BigDecimal getTotalLengthChannel()
    {
        return totalLengthChannel;
    }
    public void setGateConstruction(BigDecimal gateConstruction)
    {
        this.gateConstruction = gateConstruction;
    }

    public BigDecimal getGateConstruction()
    {
        return gateConstruction;
    }
    public void setDesignWaterPriceReform(BigDecimal designWaterPriceReform)
    {
        this.designWaterPriceReform = designWaterPriceReform;
    }

    public BigDecimal getDesignWaterPriceReform()
    {
        return designWaterPriceReform;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("totalIrrigationArea", getTotalIrrigationArea())
            .append("totalLengthChannel", getTotalLengthChannel())
            .append("gateConstruction", getGateConstruction())
            .append("designWaterPriceReform", getDesignWaterPriceReform())
            .toString();
    }
}
